<!DOCTYPE html>
<html lang="zh-CN">

<head>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="">
  <meta name="author" content="">

  <title>博客-登陆</title>

  <!-- Bootstrap core CSS -->
  <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">

  <!-- Custom fonts for this template -->
  <link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">

  <!-- Custom styles for this template -->
  <link href="css/clean-blog.min.css" rel="stylesheet">

</head>


<body>

    <!-- Navigation -->
    <nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
        <div class="container">
          <a class="navbar-brand" href="index.html">博客</a>
          <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
            菜单
            <i class="fas fa-bars"></i>
          </button>
          <div class="collapse navbar-collapse" id="navbarResponsive">
            <ul class="navbar-nav ml-auto">
              <li class="nav-item">
                <a class="nav-link" href="index.html">首页</a>
              </li>
              <li class="nav-item">
                <a class="nav-link" href="about.html">关于</a>
              </li>
              <li class="nav-item">
                <a class="nav-link" href="show.html">文章</a>
              </li>
              <li class="nav-item">
                <a class="nav-link" href="contact.html">联系我们</a>
              </li>
            </ul>
          </div>
        </div>
      </nav>
    
      <!-- Page Header -->
      <header class="masthead" style="background-image: url('img/home-bg.jpg')">
        <div class="overlay"></div>
        <div class="container">
          <div class="row">
            <div class="col-lg-8 col-md-10 mx-auto">
              <div class="site-heading" style="padding-top: 100px; padding-bottom: 20px;">
                <h2>欢迎使用博客系统</h2>
                <!-- <span class="subheading">文章列表</span> -->
              </div>
            </div>
          </div>
        </div>
      </header>
    
    <!-- Main Content -->
    <div class="container">
      <div class="row">
        <div class="col-lg-8 col-md-10 mx-auto">
          <p>请输入账号和密码进行登陆</p>
          <!-- Contact Form - Enter your email address on line 19 of the mail/contact_me.php file to make this form work. -->
          <!-- WARNING: Some web hosts do not allow emails to be sent through forms to common mail hosts like Gmail or Yahoo. It's recommended that you use a private domain email address! -->
          <!-- To use the contact form, your site must be on a live web host with PHP! The form will not work locally! -->
          <div id="error"  class='alert alert-danger'>
            登陆出错了！
          </div>

          <form action="login" method="POST" id="loginForm" novalidate>
            <div class="control-group">
              <div class="form-group floating-label-form-group controls">
                <label>账号</label>
                <input type="text" class="form-control" placeholder="账号" id="username" name="username" required
                  data-validation-required-message="账号不能为空" >
                <p class="help-block text-danger"></p>
              </div>
            </div>
            <div class="control-group">
              <div class="form-group col-xs-12 floating-label-form-group controls">
                <label>密码</label>
                <input type="password" class="form-control" placeholder="密码" id="password" name="password" required
                  data-validation-required-message="密码不能为空">
                <p class="help-block text-danger"></p>
              </div>
            </div>
            <div id="success"></div>

            <div class="form-group">
              <div class="row">
                <div class="col-6">
                  <button type="submit" class="btn btn-primary mt-3" id="sendMessageButton">登陆</button>
                </div>
                <div class="col-6 text-right">
                  <a class="btn btn-link mt-3" href="password_forgot.html" >忘记密码?</a>
                  <a class="btn btn-link mt-3" href="register.html" id=>注册</a>
                </div>
              </div>
            </div>
          </form>
        </div>
      </div>
    </div>
  
    <hr>
  
    <!-- Footer -->
    <footer>
      <div class="container">
        <div class="row">
          <div class="col-lg-8 col-md-10 mx-auto">
              <ul class="list-inline text-center">
                  <li class="list-inline-item">
                    <a href="#">
                      <span class="fa-stack fa-lg">
                        <i class="fas fa-circle fa-stack-2x"></i>
                        <i class="fab fa-github fa-stack-1x fa-inverse"></i>
                      </span>
                    </a>
                  </li>
                  <li class="list-inline-item">
                    <a href="#">
                      <span class="fa-stack fa-lg">
                        <i class="fas fa-circle fa-stack-2x"></i>
                        <i class="fab fa-weibo fa-stack-1x fa-inverse"></i>
                      </span>
                    </a>
                  </li>
                  <li class="list-inline-item">
                    <a href="#">
                      <span class="fa-stack fa-lg">
                        <i class="fas fa-circle fa-stack-2x"></i>
                        <i class="fab fa-weixin fa-stack-1x fa-inverse"></i>
                      </span>
                    </a>
                  </li>
                </ul>
                <p class="copyright text-muted">Copyright &copy; HeWenhai 2019</p>
              </div>
        </div>
      </div>
    </footer>
  
    <!-- Bootstrap core JavaScript -->
    <script src="vendor/jquery/jquery.min.js"></script>
    <script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  
    <!-- Contact Form JavaScript -->
    <script src="js/jqBootstrapValidation.js"></script>
    <script src="js/login.js"></script>
  
    <!-- Custom scripts for this template -->
    <script src="js/clean-blog.min.js"></script>
  
  </body>

</html>